package com.longcai.feign.fallback;

import com.alibaba.fastjson.JSONObject;
import com.longcai.bean.ApiResult;
import com.longcai.bean.PageHelper;
import com.longcai.feign.client.OrderFeignClient;
import com.longcai.page.table.PageTableResponse;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * @author Administrator
 * @Title: RemoteLogApiFallbackImpl
 * @ProjectName spring-cloud-media
 * @Description: TODO
 * @date 2019/2/1813:59
 */
@Slf4j
@Component
public class OrderFeignClientFallbackImpl implements OrderFeignClient {
    @Setter
    private Throwable throwable;

    @Override
    public PageTableResponse selectOrderList(Map<String, Object> map) {
        return null;
    }

    @Override
    public ApiResult<?> selectOrderByTradeNo(String tradeNo) {
        return null;
    }

    @Override
    public ApiResult<?> updateOrderInfo(Map<String, Object> map) {
        return null;
    }
}
